//
//  TryHoneCachelModel.h
//  TryHoneBase
//
//  Created by TryHone on 17/6/16.
//  Copyright © 2017年 TryHone. All rights reserved.
//

#import "JFBaseModel.h"

typedef NS_ENUM(NSInteger, CacheEngine) {
    CacheEngine_NONE = 0,
    CacheEngine_YYCache = 1,
    CacheEngine_NSUserDefault = 2
};
@interface JFCachelModel : JFBaseModel

//采用缓存引擎(默认YYCacel)
@property (nonatomic,assign) CacheEngine engine;
//引擎名字(有各个模块存储数据，各个模块清除各个模块数据时这个是必须的,engineName必须唯一)
@property (nonatomic,copy)   NSString*   engineName;
//缓存的key
@property (nonatomic,copy)   NSString*   key;
//缓存的值
@property (nonatomic,assign)   id          cachelData;

//获取一个实例
+(JFCachelModel*)getInstance;

@end
